package com.sz.stock.client;

import com.sz.stock.common.ResultBean;
import org.springframework.stereotype.Component;

@Component
public class MarketClientImpl implements MarketClient {

    @Override
    public ResultBean testService() {
        return new ResultBean(101, "熔断器返回的null", null);
    }

    @Override
    public ResultBean testparamService(String name, String pwd) {
        return new ResultBean(101, "熔断器返回的null", null);
    }

    @Override
    public ResultBean getStock(String code) {
        return new ResultBean(101, "熔断器返回的null", null);
    }

    @Override
    public ResultBean getOneOhcl(String code) {
        return new ResultBean(101, "熔断器返回的null", null);
    }

    @Override
    public ResultBean getOneStopPoint(String code) {
        return new ResultBean(101, "熔断器返回的null", null);
    }

    @Override
    public ResultBean getMarketData(String code,String scale, String datalen) {
        return new ResultBean(101, "熔断器返回的数据", null);
    }

    @Override
    public ResultBean getAllStock() {
        return new ResultBean(101, "熔断器返回的数据", null);
    }

    @Override
    public ResultBean pageInit(String stockCode) {
        return new ResultBean(101, "熔断器返回的数据", null);
    }

    @Override
    public ResultBean getPrices() {
        return new ResultBean(101, "熔断器返回的数据", null);
    }

    @Override
    public ResultBean getMarketPrice() {
        return new ResultBean(101, "熔断器返回的数据", null);
    }

}
